package com.api.shopapi.service.impl;


import com.api.shopapi.entity.SysNation;
import com.api.shopapi.mapper.SysNationMapper;
import com.api.shopapi.service.SysNationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("SysNationServiceImplOne")
public class SysNationServiceImpl implements SysNationService {

    @Autowired
    private SysNationMapper sysNationMapper;

    @Override
    public List<SysNation> getList() {
        return sysNationMapper.getList();
    }

    @Override
    public SysNation getById(int id) {
        return sysNationMapper.getById(id);
    }
}
